<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<span id="${uuid}"></span>

<div class="box_tc_s">
    <div class="grid-wrap" style="margin-top: 0">
        <table data-id="grid"></table>
    </div>
    <div data-id="news_tb" class="nsdb">
        <a data-href="${pageContext.request.contextPath}/app/api/ebom/toSearch" data-key="search"
           iconCls="fa fa-search fa-lg"
           plain="true">搜索</a>
        <a data-href="#" data-key="search_all" iconCls="fa fa-refresh fa-lg" plain="true">搜索全部</a>
    </div>

    <div data-id="user_list_btn">
        <a data-href="${pageContext.request.contextPath}/app/api/lab/index" data-id="{{id}}" data-target="link"
           data-param="?ebomId={{id}}" data-key="work" iconCls="fa fa-hotel fa-lg" plain="true">执行工艺实验</a>
        <shiro:hasPermission name="lab:data:history">
            <a data-href="${pageContext.request.contextPath}/app/api/lab/labHistory" data-id="{{id}}"
               data-param="?id={{id}}"
               data-target="link"
               data-key="history" iconCls="fa fa-history fa-lg" plain="true">工艺历史</a>
        </shiro:hasPermission>
        <a data-href="#" data-id="{{id}}" data-key="view" iconCls="fa fa-eye fa-lg" plain="true">详情查看</a>
    </div>
</div>
<script language="javascript">
    seajs.use("apps/ebom/detail-list", function (page) {
        page.init("${pageContext.request.contextPath}", "${uuid}", {
            parentId: "${parentId}",
            pbomId: "${pbomId}"
        });
    })
</script>

